package com.wchinasofit;

public class TestStudent3 {
    public static void main(String[]args) {
        Student stu1 = new Student();
        stu1.name= "阿强";
        Student stu2 = stu1;
        stu2.name="阿珍";
        System.out.println(stu1.name+"..."+stu2.name);
        stu1 = null;
        //System.out.println(stu1.name);
        System.out.println(stu2.name);
        stu2 = null;
    }


}
